]> dgit.raspbian.org Git - gnome-shell.git/commit
Notify service startup to systemd
authorBenjamin Berg <bberg@redhat.com>
Sun, 25 Aug 2019 05:26:12 +0000 (07:26 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Tue, 27 Aug 2019 17:42:32 +0000 (17:42 +0000)
commitcf156b469c7d058d951e4ffde64aa1870d4c7917
tree92a1e3b2eebf6c594315c42f2847b3e4e9c6f0d2
parentda6c154cebcdaf66c92c4c310113573c45e7d60a
Notify service startup to systemd

Using the bus name to notify service startup to systemd has some
disadvantages. The main one being that systemd will consider a
gnome-shell restart (Alt+F2 r) a service failure and restart the shell,
cleaning up all its children (i.e. user launched applications). In the
future the shell should launch applications in their own transient unit
so that a service restart does not affect applications.

Another potential issue is that we must never load
gnome-shell-wayland.service and gnome-shell-x11.service at the same
time, as systemd does not like two services providing the same bus
name.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1496

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/690
data/gnome-shell-wayland.service.in
data/gnome-shell-x11.service.in
src/main.c